package com.joysuch.wwyt.mh.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @Author ZhangDong
 * @Date 2020/7/24 10:17
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AlarmEchartDto {

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    @ApiModelProperty("时间")
    private LocalDateTime localDateTime;
    @ApiModelProperty("一级报警，二级报警数")
    private List<Integer> data;
}
